<%@ page contentType="text/html; charset=ISO-8859-1" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:form id="formulaire" action="StoreMgt.do" namespace="/secured" validate="true" >
    <s:textfield name="store.reference" cssStyle="display: none;" />

    <s:textfield name="store.name" label="Nom du magasin" required="true" />
    <s:textfield name="store.city" label="Ville du magasin" required="true" />

    <s:select label="Compte" headerValue="-- Please select --" name="selectedAccount"
    list="accounts" listKey="accountId" listValue="accountOwner" value="store.account.accountId" />
    
    <s:textfield name="action" value="1" cssStyle="display: none;" />
    <s:submit value="Envoyer" />
</s:form>

